package edu.utexas.mapreduce;

import java.io.Serializable;

public class InputBlock implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 4960908055809997793L;
	String fileName;
	long startOffset;
	long endOffset;
	
	
	
	InputBlock(String file, long start, long end) {
		this.fileName = file;
		this.startOffset = start;
		this.endOffset = end;
	}
	
	public InputBlock(){}
	
	public String toString() {
		return fileName + " ["+ Long.toString(startOffset) + "," + Long.toString(endOffset) + "]";
	}
}
